gl renderer: Expand matrix metadata extraction
authorTimm Bäder <tbaeder@redhat.com>
Wed, 28 Nov 2018 08:30:27 +0000 (09:30 +0100)
committerTimm Bäder <mail@baedert.org>
Thu, 29 Nov 2018 07:23:42 +0000 (08:23 +0100)
commit12378f0afa8c0784c697d6120e51b93e99b0c60e
treeb9a900b261caa32e6f96c2869e97e1ff3364a242
parent5ea211bbb11353bf8b24186ace3bf24b39ee609e
gl renderer: Expand matrix metadata extraction

Instead of getting the translation x/y everytime we use the modelview,
get it once, when extracting the metadata. Do the same with the scale.
And save if the matrix is "simple" at all, i.e. if it only consists of a
translation and/or scale. This will be helpful later when we start
drawing transformed nodes on textures.
gsk/gl/gskglrenderops.c
gsk/gl/gskglrenderopsprivate.h